<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="author" content="谢子强，吕超斌，严明明，黄文隆，唐黄彬" />
		<link rel="icon" href="img/y.ico">
		<title>仿途牛网-机票订购</title>
		<link rel="stylesheet" href="css/global.css">
		<!--连接自己名字简写的样式文件  如下：-->
		<link rel="stylesheet" href="css/xzq.css">
		<link rel="stylesheet" href="css/thb.css">
		<link rel="stylesheet" href="css/lcb.css">
		<link rel="stylesheet" href="css/ymm.css">
		<link rel="stylesheet" href="css/hwl.css">
		<script type="text/javascript">
	        function search() {
	            var from_city = document.getElementById("from_city").value;
	            var to_city = document.getElementById("to_city").value;
	            var from_date = document.getElementById("from_date").value;
	            var to_date = document.getElementById("to_date").value;
	            var sub = document.getElementById("sub");
	            if (from_city == "") {
	                alert("请填写出发城市");
	                sub.setAttribute('type','button');
	            } else if (to_city == "") {
	                alert("请填写返回城市");
	                sub.setAttribute('type','button');
	            }else if (from_date==""){
	                alert("请填写出发时间");
	                sub.setAttribute('type','button');
	            }else if (to_date==""){
	                alert("请填写返回时间");
	                sub.setAttribute('type','button');
	            }else {
	                sub.setAttribute('type','submit');
	            }
	        }
    	</script>
    	<style type="text/css"></style>
    	
	</head>
	<body>
		
		<!--吕 超斌
			负责：head
			11-08
		-->
		<header id="header"></header>
		<div id="headline"></div>
			
		<div id="container">
			
			<div class="sidebar">
			<!--谢子强  
				负责: sidebar
				11-08
			-->	
			</div>
			
			<div class="list ticket">
				
				<div id = "book_ticket">
				<!--严明明
					负责：ticket
					11-08
				-->	
				</div>
			
				
		       <div class="new">
		        <!--黄文隆
					负责：new ticket
					11-08
				-->  
		        </div> 
			</div>
		</div>
		
		<footer id="footer">
		<!--唐黄彬
			负责：footer
			11-08
		-->	
		</footer>

		<script src="jQuery/jquery-1.12.1.js"></script>
    	<script>
    		$('#header').load("htmlF/header.html");
    		$('#headline').load("htmlF/headline.html");
    		$('.sidebar').load("htmlF/container_sidebar.html");
    		$('.new').load("htmlF/container_new.html");
    		$('#footer').load("htmlF/footer.html");
    		$('#book_ticket').load("htmlF/container_list_ticket.html");
    	</script>
</body>
</html>